package com.saxon.UserService;



import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class beforLog implements MethodBeforeAdvice {
    @Override
    public void before (Method method, Object[] objects, Object o) throws Throwable {
        System.out.println ("我是"+o.getClass ().getName ()+","+method.getName ()+"被执行了");
    }
}
